package objects;

import objects.Human.CLASS;

import com.badlogic.gdx.math.Vector2;

public abstract class UnrealObject {
	protected int id;
	protected Vector2 orgin;
	protected boolean active=true;
	protected Vector2 position;
	
	abstract public boolean isPushable();
	abstract public Vector2 getMoveVector();
	abstract public void doUpdate();
	abstract public void setActive(boolean k );
	abstract public boolean isActive();
	
	public Vector2 getPosition(){
		if ( position == null) position = new Vector2();
		return this.position;
	}
	
	public int getId () {
		return id;
	}
	
	public Vector2 getOrgin () {
		if ( orgin == null) orgin = new Vector2();
		return this.orgin;
	}
}
